import { createApp } from "vue"
import App from "./App.vue"
import router from "./router"
import "vant/lib/index.css"
// Toast
import { showToast } from "vant"
import "vant/es/toast/style"

// Dialog
import { showDialog } from "vant"
import "vant/es/dialog/style"

// Notify
import { showNotify } from "vant"
import "vant/es/notify/style"

// ImagePreview
import { showImagePreview } from "vant"
import "vant/es/image-preview/style"
const app = createApp(App)

// console.log(import.meta.env.VITE_BASE_URL);

/* 定义原型 */
export const prototype = app.config.globalProperties
app.use(router)

app.mount("#app")
